package com.team.lostProperty.mapper;

import com.team.lostProperty.entity.LikeMap;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface LikeMapDao {
    // 添加一条数据
    void insertLikeMap(LikeMap likeMap);

    // 根据消息id查询列表
    List<LikeMap> selectByPushInfoId(@Param("pushInfoId") long pushInfoId);

    // 根据id删除数据
    int deleteById(long id);
}
